package com.zxjbyte.yiyi.module.plugin.job.domain.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Author zhangxingjia
 * @Date 2024/1/4 16:45
 * @Version: 1.0
 */
@Data
@Accessors(chain = false)
public class QJobPageResponse {

    @Schema(description = "id")
    private Long id;

    // 任务名称
    @Schema(description = "任务名称")
    private String jobName;

    // 任务组名
    @Schema(description = "任务组名")
    private String jobGroup;

    // cron表达式
    @Schema(description = "cron表达式")
    private String cronExpression;

    // 任务类名
    @Schema(description = "任务类名")
    private String handlerClassName;

    // 任务方法名
    @Schema(description = "任务方法名")
    private String handlerMethodName;

    // 方法参数
    @Schema(description = "方法参数")
    private String methodParam;

    // 任务配置
    @Schema(description = "任务配置")
    private String jobConfig;

    // 状态：0-正常，1-暂停
    @Schema(description = "状态：0-正常，1-暂停")
    private Integer status;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;
}
